package com.cesce.reaseguro.dominio;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import java.math.BigDecimal;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@RooJavaBean
@RooToString
@RooEntity(table = "Reasegurador")
public class Reasegurador {

    @NotNull
    private BigDecimal codigoCesce;

    @NotNull
    @Size(min = 1, max = 50)
    private String nombreReasegurador;

    @NotNull
    @Size(min = 1, max = 1)
    private String indDepositoSiniestros;

    @NotNull
    @Size(min = 1, max = 1)
    private String indImpuestos;
}
